All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class quicktime.std.music.InstSampleDesc

java.lang.Object
   |
   +----quicktime.util.QTByteObject
           |
           +----quicktime.std.music.InstSampleDesc

public final class InstSampleDesc
extends QTByteObject
Contains information about the mix state of a specified part.


Variable Index

 o kNativeSize
This is the size of this class

Constructor Index

 o InstSampleDesc()
Makes a instance of this class.

Method Index

 o getDataFormat()
The data format type.
 o getLoopEnd()
Indicates the end of the portion of the sample that is looped if the sound is sustained.
 o getLoopStart()
Indicates the beginning of the portion of the sample that is looped if the sound is sustained.
 o getLoopType()
The type of loop.
 o getNumChannels()
The number of channels of data present in the sample.
 o getNumSamples()
The number of data samples in the sound.
 o getOffset()
Set to zero - this is the default.
 o getPitchHigh()
The highest pitch at which to play the sample.
 o getPitchLow()
The lowest pitch at which to play the sample.
 o getPitchNormal()
The number of the MIDI note produced if the sample is played at the rate specified in sampleRate.
 o getSampleDataID()
The ID number of a sample data atom that contains the sample audio data.
 o getSampleRate()
The rate at which to play the sample.
 o getSampleRateRaw()
The rate at which to play the sample in unsigned 16.16 format
 o getSampleSize()
The size of the sample— 8-bit or 16-bit.
 o setDataFormat(int)
The data format type.
 o setLoopEnd(int)
Indicates the end of the portion of the sample that is looped if the sound is sustained.
 o setLoopStart(int)
Indicates the beginning of the portion of the sample that is looped if the sound is sustained.
 o setLoopType(int)
The type of loop.
 o setNumChannels(int)
The number of channels of data present in the sample.
 o setNumSamples(int)
The number of data samples in the sound.
 o setOffset(int)
Set to zero - this is the default.
 o setPitchHigh(int)
The highest pitch at which to play the sample.
 o setPitchLow(int)
The lowest pitch at which to play the sample.
 o setPitchNormal(int)
The number of the MIDI note produced if the sample is played at the rate specified in sampleRate.
 o setSampleDataID(int)
The ID number of a sample data atom that contains the sample audio data.
 o setSampleRate(float)
The rate at which to play the sample.
 o setSampleRateRaw(int)
The rate at which to play the sample in unsigned 16.16 format
 o setSampleSize(int)
The size of the sample— 8-bit or 16-bit.
 o toString()
Returns a string representation of this object.

Variables

 o kNativeSize
 public static final int kNativeSize
This is the size of this class

Constructors

 o InstSampleDesc
 public InstSampleDesc()
Makes a instance of this class.

Methods

 o getDataFormat
 public int getDataFormat()
The data format type. This is either 'twos', for signed data, or 'raw ', for unsigned data.

 o setDataFormat
 public void setDataFormat(int dataFormat)
The data format type. This is either 'twos', for signed data, or 'raw ', for unsigned data.

 o getNumChannels
 public int getNumChannels()
The number of channels of data present in the sample.

 o setNumChannels
 public void setNumChannels(int numChannels)
The number of channels of data present in the sample.

 o getSampleSize
 public int getSampleSize()
The size of the sample— 8-bit or 16-bit.

 o setSampleSize
 public void setSampleSize(int sampleSize)
The size of the sample— 8-bit or 16-bit.

 o getSampleRate
 public float getSampleRate()
The rate at which to play the sample.

 o setSampleRate
 public void setSampleRate(float sampleRate)
The rate at which to play the sample.

 o getSampleRateRaw
 public int getSampleRateRaw()
The rate at which to play the sample in unsigned 16.16 format

 o setSampleRateRaw
 public void setSampleRateRaw(int sampleRate)
The rate at which to play the sample in unsigned 16.16 format

 o getSampleDataID
 public int getSampleDataID()
The ID number of a sample data atom that contains the sample audio data.

 o setSampleDataID
 public void setSampleDataID(int sampleDataID)
The ID number of a sample data atom that contains the sample audio data.

 o getOffset
 public int getOffset()
Set to zero - this is the default.

 o setOffset
 public void setOffset(int offset)
Set to zero - this is the default.

 o getNumSamples
 public int getNumSamples()
The number of data samples in the sound.

 o setNumSamples
 public void setNumSamples(int numSamples)
The number of data samples in the sound.

 o getLoopType
 public int getLoopType()
The type of loop.

 o setLoopType
 public void setLoopType(int loopType)
The type of loop.

 o getLoopStart
 public int getLoopStart()
Indicates the beginning of the portion of the sample that is looped if the sound is sustained. The position is given in the number of data samples from the start of the sound.

 o setLoopStart
 public void setLoopStart(int loopStart)
Indicates the beginning of the portion of the sample that is looped if the sound is sustained. The position is given in the number of data samples from the start of the sound.

 o getLoopEnd
 public int getLoopEnd()
Indicates the end of the portion of the sample that is looped if the sound is sustained. The position is given in the number of data samples from the start of the sound.

 o setLoopEnd
 public void setLoopEnd(int loopEnd)
Indicates the end of the portion of the sample that is looped if the sound is sustained. The position is given in the number of data samples from the start of the sound.

 o getPitchNormal
 public int getPitchNormal()
The number of the MIDI note produced if the sample is played at the rate specified in sampleRate.

 o setPitchNormal
 public void setPitchNormal(int pitchNormal)
The number of the MIDI note produced if the sample is played at the rate specified in sampleRate.

 o getPitchLow
 public int getPitchLow()
The lowest pitch at which to play the sample. Use for instruments, such as pianos, that have different samples to use for different pitch ranges.

 o setPitchLow
 public void setPitchLow(int pitchLow)
The lowest pitch at which to play the sample. Use for instruments, such as pianos, that have different samples to use for different pitch ranges.

 o getPitchHigh
 public int getPitchHigh()
The highest pitch at which to play the sample. Use for instruments, such as pianos, that have different samples to use for different pitch ranges.

 o setPitchHigh
 public void setPitchHigh(int pitchHigh)
The highest pitch at which to play the sample. Use for instruments, such as pianos, that have different samples to use for different pitch ranges.

 o toString
 public String toString()
Returns a string representation of this object.

Returns:
a String
Overrides:
toString in class QTByteObject

All Packages  Class Hierarchy  This Package  Previous  Next  Index